package com.go.where.manager.dao;

import java.util.List;

import com.go.where.manager.pojo.TeacherRelationInfo;

/**
 * 教师课程关联信息dao
 * 
 * @author java
 * 
 */
public interface TeacherRelationDao extends BaseDao<TeacherRelationInfo> {

	/**
	 * 根据教师id和课程id查询
	 * 
	 * @return
	 */
	public TeacherRelationInfo queryByTidAndCid(TeacherRelationInfo relationInfo);
	
	public List<TeacherRelationInfo> queryByCourseId(String courseId);
	
	public int updateByCourseId(TeacherRelationInfo relationInfo);
}
